package com.wangshidai.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangshidai.entity.SysDept;
import com.wangshidai.form.deptform.DeptTreeForm;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity com.wangshidai.entity.SysDept
 */
@Repository
public interface SysDeptMapper extends BaseMapper<SysDept> {

    @Select("select * from sys_dept")
    List<DeptTreeForm> queryAll();
}




